/* CSS笔记：
 1.外间距合并（上下合并）：当两个垂直外边距合并时，它们将合并成一个外边距，外边距的高度等于两个外边距的较大者
 #box1{margin-buttom:150px; }  #box1{margin-top:50px; },最终box1和box2的上下距离为150px
 2.
 */
#sidebar{
	width:50px;
	height:300px;
	border: 1px solid rosybrown;
	border-radius: 10px 0 0 10px;
	background-color: #00F7DE;
	position: fixed;
	right:0;
	top:calc(50% - 300px/2);
}
/* starter of logo */
#logo{
	display: none;
	width:90%;
	height: 10vh;
	position: fixed;
	top: 0px;
	left: 0px;
	right: 0px;
/* 	border: 1px solid saddlebrown; */
	margin: 0px auto;
	margin-top: 100px;
	z-index: 1000;
	justify-content: right;
	background-color: rgba(245,245,245,0.8);
	
/* 	background: url(../img/bg2.png) no-repeat; */
	/* display: flex;
	justify-content:space-between;
	align-items: center; */
}
/* end of logo */
/* starter of nav*/
#content{
	position: relative;
	top: 200px;
	width:90vw;
	height:80vh;
	min-width:375px;
	margin:0px auto;
/* 	border:2px groove #01AAED; */
	border-radius: 10px;
	display: flex;
	background-color: rgba(245, 245, 245, 0.5);
}
.content_modules{
		border: 3px solid;
		border-image:linear-gradient(to top, #ce86ae,#244a95) 1 10;
		border-radius: 15px;
	}
.content_modules>button{
	margin: 18px auto;
}
.content{
/* 	height: 98%; */
	border-radius: 15px;
	border: 3px solid;
	border-image:linear-gradient(to top,#ce86ae,#244a95) 1 10;
	flex-grow:1;
}
.content>iframe{
	border: none;
	width:100%;
	height:100%;
}
#nav{
	width: 100%;
	display:flex;
	align-items: center;
	justify-content: right;

	/* border:1px solid #000000; */
}
#nav>li{
	margin: 10px;
}
#adapt{
	display: none;
	cursor: pointer;
}
@media screen and (min-width:960px) {
	.header{
		min-width: 960px;
	}
	#logo{
		position: absolute;
		top: -9999px;
	}
	#content{
		width: 85%;
		top: 120px;
	}
	.content_modules{
		display: flex;
		flex-direction: column;
		border-right: none;
		border-bottom-right-radius:0;
		border-top-right-radius:0;
		padding: 15px;
		/* 		margin-right: 5px; */
		width:165px;
	}
	.content_modules>button{
		position: relative;
		left: -5px;
	}
	.content{
		border-top-left-radius: 0px;
		border-bottom-left-radius: 0px;
		border-left: none;
	}
}
@media screen and (max-width:960px) and (min-width:750px){
	
	.header{
		width: 90.8%;
	}
	.header_right{
		display: none;
	}
	#adapt{
		display: block;
	}
	#content{
		display: block;
		margin-bottom: 300px;
	}
	.content_modules{
		width: 100%;
		border-bottom:0px;
		border-bottom-left-radius:0px ;
		border-bottom-right-radius:0px ;
	}
	.content{
		width:100%;
		height:87%;
		margin: 0 auto;
		border-top-left-radius:0px ;
		border-top-right-radius:0px ;
	}
	.content_modules>button{
		margin-left: 10px;
		position: relative;
		top: -5px;
	}
}
@media screen and (max-width:750px){
	body{
		font-size:0.625rem;
	}
	.header{
		width: 90.8%;
	}
	.header_right{
		display: none;
	}
	#adapt{
		display: block;
	}
	#content{
		display: block;
		margin-bottom: 100px;
	}
	.content{
		margin: 0 auto;
		width: 98%;
		height: 85%;
	}
	.content_modules>button{
		margin: 15px auto;
	}
}
/* @media screen and (min-width:960px) {
	.header{
		min-width: 960px;
	}
	#logo{
		position: absolute;
		top: -9999px;
	}
	.content_modules{
		display: flex;
		flex-direction: column;
	}
	#content{
		top: 120px;
	}
}
@media screen and (max-width:960px) and (min-width:750px){
	.header{
		width: 90.8%;
	}
	.header_right{
		display: none;
	}
	#adapt{
		display: block;
	}
	#content{
		display: block;
	}
	.content{
		width: 98%;
		height: 88%;
		margin: 0 auto;
	}
	.content_modules>button{
		margin: 0px auto;
	}
}
@media screen and (max-width:750px){
	.header{
		width: 90.8%;
	}
	.header_right{
		display: none;
	}
	#adapt{
		display: block;
	}
	#content{
		width: 98vw;
		height: 90vh;
		display: block;
	}
	.content{
		margin: 0 auto;
		width: 98%;
		height: 79%;
	}
} */